php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#237865 - 03/19/03 02:09 AM Re: [6.2] Banner Ad Rotator [Re: Daine]
caspe7_dup1 Offline
Power User

Registered: 04/14/02
Posts: 75
Loc: Long Beach, CA, USA
Thanks, I did what it said in the other topic, I think I messed it up (where I put it), and it showed it couple of times (2 out of place, 1 the normal place), so i deleted it and It worked how it should, don't know why <img src="/forum/images/graemlins/crazy.gif" alt="" />
_________________________
"We're sorta like the 7-11. We're not always doin' business, but we're always open"

Top
#237866 - 03/19/03 03:11 AM Re: [6.2] Banner Ad Rotator [Re: AgentDrek]
caspe7_dup1 Offline
Power User

Registered: 04/14/02
Posts: 75
Loc: Long Beach, CA, USA
I got a question now that it works <img src="/forum/images/graemlins/tongue.gif" alt="" /><br /><br />Is there a simple way, to be able to turn it off on a user? forexample if someone hated it so much (if they are on a 56k) that they would pay money to have it removed. <br /><br />(I know theres the sidebar that can do that, but I didn't like the sidebar too much <img src="/forum/images/graemlins/crazy.gif" alt="" /> some reason it made everything look odd)
_________________________
"We're sorta like the 7-11. We're not always doin' business, but we're always open"

Top
#237867 - 03/19/03 09:27 AM Re: [6.2] Banner Ad Rotator [Re: AgentDrek]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
I've done that on my site.<br /><br />I include it on the top and bottom of every page. If they are a paid supporter... they have the option of turning the top banner off. <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /><br />I haven't written up the code yet. If I can get to it, I will do it and post it. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237868 - 03/19/03 02:36 PM Re: [6.2] Banner Ad Rotator [Re: Daine]
Tesseract Offline
Lurker

Registered: 03/05/03
Posts: 2
It appears to be just a problem in using the echo command. I get the same compilation error. But the fix is simple enough just replace the echo block at the end:<br /><br />
Code:
<br />echo &lt;&lt;&lt;BANNER<br />  $tbopen<br />  &lt;tr&gt;<br />  &lt;td align="center" class="darktable"&gt;<br />  &lt;b&gt;Support Our Site - $Title&lt;/b&gt;<br />  &lt;/td&gt;<br />  &lt;/tr&gt;<br />  &lt;td align="center" class="lighttable"&gt;<br />  $Banner<br />  &lt;/td&gt;<br />  &lt;/tr&gt;<br />  $tbclose<br />  &lt;br /&gt;<br />BANNER;<br />
<br /><br />with simple print statements, not as pretty, but it does compile:<br /><br />
Code:
<br />print( $tbopen);<br />print(	"&lt;tr&gt;\n");<br />print( "&lt;td align=\"center\" class=\"darktable\"&gt; \n");<br />print( "&lt;b&gt;Support Our Site - $Title&lt;/b&gt;\n");<br />print( "&lt;/td&gt;\n");<br />print( "&lt;/tr&gt;\n");<br />print( "&lt;td align=\"center\" class=\"lighttable\"&gt;\n");<br />print( "$Banner\n");<br />print( "&lt;/td&gt;&lt;/tr&gt;$tbclose&lt;br /&gt;\n");<br />

Top
#237869 - 03/19/03 03:13 PM Re: [6.2] Banner Ad Rotator [Re: theman_dup1]
Kel Offline
Member

Registered: 01/30/02
Posts: 246
Loc: Arizona
Works like a charm! Thanks James... <img src="/forum/images/graemlins/waytogo.gif" alt="" />

Top
#237870 - 03/19/03 05:18 PM Re: [6.2] Banner Ad Rotator [Re: theman_dup1]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Thank you. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#237871 - 03/26/03 03:39 AM Re: [6.2] Banner Ad Rotator [Re: Daine]
jluerken Offline
Member

Registered: 08/27/02
Posts: 233
[]JoshPet said:<br />I've done that on my site.<br /><br />I include it on the top and bottom of every page. If they are a paid supporter... they have the option of turning the top banner off. <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /><br />I haven't written up the code yet. If I can get to it, I will do it and post it. <img src="/forum/images/graemlins/smile.gif" alt="" /> [/]<br /><br />Oh yes Josh, can you please do so?<br /><br />Would be nice if the banner will only be shown for some usergroups and not for all.<br />
_________________________
Ciao jluerken
--------------------
www.uce-clan.de www.clanforums.com

[]http://www.uce-clan.de/images/uce_banner2.gif[/]

Top
#237872 - 04/28/03 03:43 AM Re: [6.2] Banner Ad Rotator [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Works for 6.3 - reposted here.<br /><br /><img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
Page 2 of 2 < 1 2



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks